package com.sander.guardmanagement.http;

/**
 * Created by sander on 2017/4/24.
 */

public class HttpApi {
    public static final String key_sh = "8BE3884D75E2457F8D4907EDF8E41DA8";

    public static final String base_url = "http://gtxy.xyzit.cn/xy_lock/api/v1/";
//    public static final String base_url = "http://192.168.16.104:8181/unlock/api/v1/";
    public static final String SMS_verification_code = "user/sendsms";
    public static final String User_registration = "user/user_reg";
    public static final String UserInfomation_change = "user/user_edit";
    public static final String User_login = "user/user_login";
    public static final String UserInfoMation_get = "user/get_userinfo";
    public static final String UserPassword_change = "user/edit_password";
    public static final String User_submit_suggest = "user/submit_suggest";
    public static final String Home_get_city = "home/get_city";
    public static final String Home_get_community = "home/get_community";
    public static final String getHome_get_community_byCityName = "home/get_community_by_cityname";
    public static final String Home_get_sub_community = "home/get_sub_community";
    public static final String Home_get_building = "home/get_building";
    public static final String Home_get_room = "home/get_room";
    public static final String Home_save_user_homeinfo = "home/save_user_homeinfo";
    public static final String Home_get_user_homelist ="home/get_user_homelist";
    public static final String Home_delete_user_home = "home/delete_user_home";
    public static final String Home_add_ruzhuren = "home/add_ruzhuren";
    public static final String Home_get_ruzhuren_list = "home/get_ruzhuren_list";
    public static final String Home_delete_ruzhuren = "home/delete_ruzhuren";
    public static final String Home_get_rent_list = "home/get_rent_list";
    public static final String Home_aduit_rent_user = "home/aduit_rent_user";
    public static final String User_Submit_Cooperation = "user/submit_cooperation";

    public static final String Home_get_hot_city = "home/get_hot_city";

    public static final String User_submit_phone_list = "user/submit_phone_list";

    public static final String Home_Get_Lock_List = "home/get_lock_list";

    public static final String Home_Open_Door = "home/open_door";

    public static final String Home_Get_Door_Cmd_Status = "home/get_door_cmd_status";

    public static String getAPiUrl(String api){
        return base_url + api;
    }

}
